
///基础返回
class BaseResponseEntity {
  int? code;
  dynamic data;
  String? businessCode;
  String? message;

  BaseResponseEntity({this.code, this.data, this.message});

  BaseResponseEntity.fromJson(Map<String, dynamic> json) {
    businessCode = json['businessCode'];
    code = json['code'];
    data = json['data'];
    message = json['message'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['businessCode'] = this.businessCode;
    data['data'] = this.data;
    data['message'] = this.message;
    return data;
  }
}
///列表基础提交
class BaseListRequestEntity {
  List? departments;
  List? groups;
  String?  groupId;
  int? pageIndex;
  int? pageSize;
  String? procName;
  String? userCode;


  BaseListRequestEntity({
    this.departments,
    this.groups,
    this.groupId,
    this.pageIndex,
    this.pageSize,
    this.procName,
    this.userCode,
  });

  Map<String, dynamic> toJson() => {
    "departments": departments,
    "groups": groups,
    "groupId": groupId,
    "pageIndex": pageIndex,
    "pageSize": pageSize,
    "procName": procName,
    "userCode": userCode,
  };
}